using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._3DAnalystTools
{
    /// <summary>
    /// <para>TIN Aspect</para>
    /// <para>Extracts the directional orientation  of input TIN to an output polygon feature class.</para>
    /// <para>将输入 TIN 的方向提取到输出面要素类。</para>
    /// </summary>    
    [DisplayName("TIN Aspect")]
    public class TinAspect : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public TinAspect()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_tin">
        /// <para>Input TIN</para>
        /// <para>The input TIN.</para>
        /// <para>输入 TIN.</para>
        /// </param>
        /// <param name="_out_feature_class">
        /// <para>Output Feature Class</para>
        /// <para>The output feature class.</para>
        /// <para>输出要素类。</para>
        /// </param>
        public TinAspect(object _in_tin, object _out_feature_class)
        {
            this._in_tin = _in_tin;
            this._out_feature_class = _out_feature_class;
        }
        public override string ToolboxName => "3D Analyst Tools";

        public override string ToolName => "TIN Aspect";

        public override string CallName => "3d.TinAspect";

        public override List<string> AcceptEnvironments => ["XYDomain", "XYResolution", "XYTolerance", "extent", "outputCoordinateSystem", "scratchWorkspace", "workspace"];

        public override object[] ParameterInfo => [_in_tin, _out_feature_class, _class_breaks_table, _aspect_field];

        /// <summary>
        /// <para>Input TIN</para>
        /// <para>The input TIN.</para>
        /// <para>输入 TIN.</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input TIN")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_tin { get; set; }


        /// <summary>
        /// <para>Output Feature Class</para>
        /// <para>The output feature class.</para>
        /// <para>输出要素类。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Feature Class")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _out_feature_class { get; set; }


        /// <summary>
        /// <para>Class Breaks Table</para>
        /// <para>An input table containing the classification breaks that will be used to classify the output feature class.</para>
        /// <para>包含分类中断的输入表，将用于对输出要素类进行分类。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Class Breaks Table")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public object _class_breaks_table { get; set; } = null;


        /// <summary>
        /// <para>Aspect Field</para>
        /// <para>The field containing aspect values.</para>
        /// <para>包含纵横比值的字段。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Aspect Field")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public object _aspect_field { get; set; } = null;


        public TinAspect SetEnv(object XYDomain = null, object XYResolution = null, object XYTolerance = null, object extent = null, object outputCoordinateSystem = null, object scratchWorkspace = null, object workspace = null)
        {
            base.SetEnv(XYDomain: XYDomain, XYResolution: XYResolution, XYTolerance: XYTolerance, extent: extent, outputCoordinateSystem: outputCoordinateSystem, scratchWorkspace: scratchWorkspace, workspace: workspace);
            return this;
        }

    }

}